package com.jhhc.BDMS.System.Serivce.impl;


import com.jhhc.BDMS.System.Dao.BDMS_SYS_ADMINMAP_BMapper;
import com.jhhc.BDMS.System.Pojo.BDMS_SYS_ADMINMAP_B;
import com.jhhc.BDMS.System.Serivce.BDMS_SYS_ADMINMAP_BService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class BDMS_SYS_ADMINMAP_BServiceImpl implements BDMS_SYS_ADMINMAP_BService {

    @Autowired
    private BDMS_SYS_ADMINMAP_BMapper bdms_sys_adminmap_bMapper;

    @Override
    public int insert(BDMS_SYS_ADMINMAP_B b) {
        return bdms_sys_adminmap_bMapper.insert(b);
    }

    @Override
    public List<BDMS_SYS_ADMINMAP_B> selectByPid(Integer Pid) {
        return bdms_sys_adminmap_bMapper.selectByPid(Pid);
    }
}
